package com.ktgj.flight.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 机票订单列表
 */
public class FlightOrderList
{
    public FlightOrderList() {
        orderDetailsLists = new ArrayList<>();
    }

    /** 机票订单基本信息ID */
    private String orderId;

    /** 航空公司简称 */
    @Excel(name = "航空公司简称")
    private String airlinerName;

    /** 订单收银状态Id --1未支付 2 已支付 */
    @Excel(name = "订单收银状态Id --1未支付 2 已支付")
    private String guestPymtStsId;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    /** 订单支付过期时间 */
    @Excel(name = "订单支付过期时间")
    private String expirationTime;

    /** 支付总金额 */
    @Excel(name = "支付总金额")
    private BigDecimal payAmount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 会员ID
     */
    private Long customerId;


    /** 机票订单列表详情 */
    @Excel(name = "机票订单列表详情")
    private List<FlightOrderDetailsList> orderDetailsLists;

    public Long getCustomerId()
    {
        return customerId;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGuestPymtStsId() {
        return guestPymtStsId;
    }

    public void setGuestPymtStsId(String guestPymtStsId) {
        this.guestPymtStsId = guestPymtStsId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(String expirationTime) {
        this.expirationTime = expirationTime;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public List<FlightOrderDetailsList> getOrderDetailsLists() {
        return orderDetailsLists;
    }

    public void setOrderDetailsLists(List<FlightOrderDetailsList> orderDetailsLists) {
        this.orderDetailsLists = orderDetailsLists;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAirlinerName() {
        return airlinerName;
    }

    public void setAirlinerName(String airlinerName) {
        this.airlinerName = airlinerName;
    }
}
